package com.zhilianbao.leyaogo.model.response.shoppingcart;

/**
 * Author: hcy
 * Description:
 * Created: 2016/11/23 11:49
 */
public class GoodsStock {
    public static final int STOCK_NO = 10020;//库存不足
    private long goodsId;//(integer, optional): 主键 商品编号 ,
    private int stockType;//(integer, optional): 库存类型 0 无限制 1 SPU独立库存 2 SKU共享库存 3 SKU独立库存 ,
    private int stockNumber;//(integer, optional): 库存数量 1 SPU独立库存 2 SKU共享库存 设置 ,
    private int limitNumber;//(integer, optional): 限购数量 0 表示无限制 ,
    private int saleTimeType;// (integer, optional): 开售时间 0 立即开售 1 定时开售 ,
    private String saleDtm;//(string, optional): 开售时间 ,
    private int statusCode;//(integer, optional): 状态 0 下架 1 上架 ,
    private int deleteFlag;//(integer, optional): 删除状态 0 正常 1 删除
    private int errorCode;

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public int getStockType() {
        return stockType;
    }

    public void setStockType(int stockType) {
        this.stockType = stockType;
    }

    public int getStockNumber() {
        return stockNumber;
    }

    public void setStockNumber(int stockNumber) {
        this.stockNumber = stockNumber;
    }

    public int getLimitNumber() {
        return limitNumber;
    }

    public void setLimitNumber(int limitNumber) {
        this.limitNumber = limitNumber;
    }

    public int getSaleTimeType() {
        return saleTimeType;
    }

    public void setSaleTimeType(int saleTimeType) {
        this.saleTimeType = saleTimeType;
    }

    public String getSaleDtm() {
        return saleDtm;
    }

    public void setSaleDtm(String saleDtm) {
        this.saleDtm = saleDtm;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }
}
